package com.ruoyi.project.orderSystem.service;

import java.util.List;
import com.ruoyi.project.orderSystem.domain.OrderStationItem;
import com.ruoyi.project.orderSystem.domain.vo.OrderStationItemVO;

/**
 * 工单站点巡检项Service接口
 *
 * @author wangshuo
 * @date 2021-01-24
 */
public interface IOrderStationItemService
{
    /**
     * 查询工单站点巡检项
     *
     * @param id 工单站点巡检项ID
     * @return 工单站点巡检项
     */
    public OrderStationItem selectOrderStationItemById(Long id);

    /**
     * 查询工单站点巡检项列表
     *
     * @param orderStationItem 工单站点巡检项
     * @return 工单站点巡检项集合
     */
    public List<OrderStationItem> selectOrderStationItemList(OrderStationItem orderStationItem);

    /**
     * 新增工单站点巡检项
     *
     * @param orderStationItem 工单站点巡检项
     * @return 结果
     */
    public int insertOrderStationItem(OrderStationItem orderStationItem);

    /**
     * 修改工单站点巡检项
     *
     * @param orderStationItem 工单站点巡检项
     * @return 结果
     */
    public int updateOrderStationItem(OrderStationItem orderStationItem);

    /**
     * 批量删除工单站点巡检项
     *
     * @param ids 需要删除的工单站点巡检项ID
     * @return 结果
     */
    public int deleteOrderStationItemByIds(Long[] ids);

    /**
     * 删除工单站点巡检项信息
     *
     * @param id 工单站点巡检项ID
     * @return 结果
     */
    public int deleteOrderStationItemById(Long id);

    int saveOrderItem(OrderStationItem orderStationItem);

    OrderStationItemVO getOrderStationItemByOrderStationId(Long orderStationId);
}
